<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="springform"
	uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@	taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="/WEB-INF/views/webPart/head.jsp"></jsp:include>
<title>标签 - 呵Sever</title>
</head>
<body>
	<jsp:include page="/WEB-INF/views/webPart/top.jsp"></jsp:include>
	<jsp:include page="/WEB-INF/views/webPart/left.jsp"></jsp:include>
	<div class="mycol col-md-9 col-xs-11">
		<div class="main">
			<ol class="breadcrumb">
				<li><a href="${context }/">首页</a></li>
				<li class="active">标签</li>
			</ol>
			<div class="mainItem">
				<c:forEach items="${tags }" var="item">
					<c:if test="${item.parentTag == null }">
						<div class="tree show">
							<ul>
								<li><span class="tag"> 
									${item.name } </span>
									<a class="glyphicon glyphicon-link" title="相关文章" href=""></a>
									<c:if test="${fn:length(item.childTags)!=0 }">
									<ul>
										<c:forEach items="${item.childTags }" var="child">
											<li>
											<span class="tag"> ${child.name } </span>
											<a class="glyphicon glyphicon-link" title="相关文章" href=""></a>
											<c:if test="${fn:length(child.childTags)!=0 }">
												<ul>
													<c:forEach items="${child.childTags }" var="grandChild">
														<li>
															<span class="tag"> ${grandChild.name } </span>
															<a class="glyphicon glyphicon-link" title="相关文章" href=""></a>
														</li>
													</c:forEach>
												</ul>
											</c:if>
											</li>
										</c:forEach>
									</ul>
									</c:if>
								</li>
							</ul>
						</div>
					</c:if>
				</c:forEach>
			</div>
		</div>
	</div>
	<jsp:include page="/WEB-INF/views/webPart/right.jsp"></jsp:include>
	<jsp:include page="/WEB-INF/views/webPart/footer.jsp"></jsp:include>
</body>
</html>